import Vue from 'vue'
import VueRouter from 'vue-router'
import goods from 'views/goods/goods';
import ratings from 'views/ratings/ratings';
import seller from 'views/seller/seller';

Vue.use(VueRouter)

const routes = [
  // {
  //   path: '/',
  //   redirect: '/goods'
  // },
  {
    path: '/goods',
    component: goods
  }, {
    path: '/ratings',
    component: ratings
  }, {
    path: '/seller',
    component: seller
  }
]

const router = new VueRouter({
  routes
})

export default router
